home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-07-24 | 1.4 KB | 53 lines |
- #********************************************************************
- #
- # PROGRAM: MAKEFILE
- #
- # PURPOSE: Sample Interactive Player Demonstration make file.
- #
- # Microsoft NMAKE command file to build dgvplayr. The macro
- # RELEASE is used to turn on optimizations.
- #
- # To build a version that can be debugged with CodeView:
- #
- # nmake /f dgvplayr.mak
- #
- # To build a version that is optimized:
- #
- # nmake RELEASE= /f dgvplayr.mak
- #
- #
- # RELEASE NOTES:
- # Version - 3/13/92
- #
- # Copyright Intel Corp. 1990, 1992
- # All Rights Reserved
- #
- #********************************************************************
-
- # Standard MS Windows MS C compiler options are used.
- # Since we only support Windows Enhanced mode, we use the /G2 option,
- # and the -T option on the resource compiler.
- # Note that we also include the DGV import lib in the link.
-
- CMODE=
-
- !IFDEF RELEASE
- CFLAGS = /c /AM /Gw /W3 /Zp1 /G2 /Gs /Oegilcs $(CMODE)
- LFLAGS = /MAP /ALIGNMENT:16 /NOD
- !ELSE
- CFLAGS = /c /AM /Gw /W3 /Zp1 /G2 /Ge /Od /Zi $(CMODE)
- LFLAGS = /MAP /ALIGNMENT:16 /NOD /CO
- !ENDIF
- MSLIBS = libw mlibcew commdlg oldnames mmsystem
-
- dgvplayr.exe : $*.obj $*.def $*.res
- link $(LFLAGS) $*.obj, $*.exe, $*.map, $(MSLIBS), $*.def
- rc -T $*.res
-
- dgvplayr.res : $*.rc $*.h $*.ico playback.ico
- rc -r $*.rc
-
- dgvplayr.obj : $*.c $*.h
- cl $(CFLAGS) $*.c > $*.err
-